# -*- coding: utf-8 -*-

#    Copyright (C) 2005-2014 by Promotux
#                       di Francesco Meloni snc - http://www.promotux.it/

#    Author: Francesco Meloni  <francesco@promotux.it>
#    This file is part of Promogest.

#    Promogest is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 2 of the License, or
#    (at your option) any later version.

#    Promogest is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.

#    You should have received a copy of the GNU General Public License
#    along with Promogest.  If not, see <http://www.gnu.org/licenses/>.


import Environment
#from dao.DaoUtils import get_columns
#from sqlalchemy import *
#from sqlalchemy.orm import *
#from promogest.lib.alembic.migration import MigrationContext
#from promogest.lib.alembic.operations import Operations
#from promogest.lib.alembic import op

def orderedImportMain():
    print "PASSOoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo", Environment.schema
    #from data.utente import *
    #from data.ente import * #v
    #from data.language import * #v
    #from data.action import *
    #from data.role import *
    #from data.tipoEnte import *
    #from data.roleAction import *
    #from data.tipoCampo import *
    #from data.tipoGeo import *
    from dao.TipoCampo import TipoCampo, t_tipo_campo


def orderedImportSchemes():
    #from data.categoria import *
    #from data.campo import *
    #from data.categoriaCampo import *
    #from data.tipoCategoria import *
    from dao.Categoria import Categoria
    from dao.Campo import Campo , t_campo
    from dao.CategoriaCampo import CategoriaCampo, t_categoriacampo
    from dao.TipoCategoria import TipoCategoria, t_tipo_categoria
